package com.icart.context.storage;


import com.icart.context.HttpUserContext;
import com.icart.context.SaleUserContext;

/**
 * Created by kim on 17/11/20.
 */
public interface ContextStorage {
    public void save(String key, HttpUserContext userContext);

    public HttpUserContext getUserContext(String key);

    public void saveSale(String key, SaleUserContext saleUserContext);

    public SaleUserContext getsaleUserContext(String key);

    public void clear(String key);

}
